<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Untitled Document</title>
		<script type="text/javascript" src="../FWK/Package.js"></script>
		<script type="text/javascript">
			FWK.include("FWK.Data.Date");
		</script>
	</head>
	<body>
		<script type="text/javascript">
			document.write("与2008-10-16日间隔天数："+new Date("2008/10/16").dateDiff("day")+"<br/>");
			document.write("与2008-10-16日间隔月数："+new Date("2008/10/16").dateDiff("month")+"<br/>");
			document.write("与2008-10-16日间隔年数："+new Date("2008/10/16").dateDiff("year")+"<br/>");
			
			document.write("与2008-10-16日间隔秒数："+new Date("2008/10/16").dateDiff("second")+"<br/>");
			document.write("与2008-10-16日间隔月数："+new Date("2008/10/16").dateDiff("month")+"<br/>");
			document.write("与2008-10-16日间隔年数："+new Date("2008/10/16").dateDiff("year")+"<br/>");
			
			document.write("与2008-10-16日间隔星期数："+new Date("2008/10/16").dateDiff("week")+"<br/>");
			
			var  d = new Date().getAttributes();
			alert("今天是："+d.year + "年" + d.month + "月" + d.date + "日" +" 星期"+d.day);
		</script>
	</body>
</html>
